home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 7
/
Aminet 7 - August 1995.iso
/
Aminet
/
comm
/
tcp
/
AmigaTCP.lha
/
AmigaTCP
/
src
/
trace.h
< prev
next >
Wrap
C/C++ Source or Header
|
1989-06-24
|
724b
|
24 lines
/* Dump an IP datagram header. If it's the first fragment, also dump
* the next layer header (if known). Dumping is controlled by the low-order
* 4 bits of the external variable "trace":
* Level 0: no dump
* Level 1-2: link level dumps only
* Level 3: IP and ARP dumps only
* Level 4: IP header + UDP or TCP header
* Level 5: All headers + hex dump
*/
extern int32 trace;
#define TRACE_AX25 0x8000l
#define TRACE_EC 0x4000l
#define TRACE_PC100 0x2000l
#define TRACE_SLIP 0x1000l
#define TRACE_SDLC 0x0800l
#define TRACE_SELF 0x0400l
#define TRACE_HDR 0x0fl
#define TRACE_DUMP 0x10l
#define TRACE_ASCII 0x20l
#define TRACE_CMDPARSE 0x80000000l
#define TRACE_DEVICE 0x40000000l